<template>
    <h1>登录成功页面</h1>
</template>

<script setup lang="ts">

import { useRoute } from 'vue-router';

const route = useRoute();

console.log(route.params.Name);
console.log(route.params.Pwd);

alert(`用户:${route.params.Name}登录成功`);

</script>
